package com.rain.bee.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.rain.bee.service.vo.UserVo;

@FeignClient(name = "microservice-provider-bee",path="/microservice-provider-bee/")

@RequestMapping("user")
public interface UserService {
	
	@RequestMapping("/searchUser")
	UserVo getUserById(@RequestBody UserVo user);
	
	@RequestMapping("/getUsers")
	List<UserVo> getUsers(@RequestBody UserVo user);

}
